﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YiYiTong.Rocket.Model
{
    /// <summary>
    /// 商户状态枚举
    /// </summary>
    public enum MerchantEnum
    {
        NoAudit = 0,    //未审核
        AuditOK = 1,    //审核通过
        AuditFail = 2   //审核失败
    }

    /// <summary>
    /// 短信发送类型枚举
    /// </summary>
    public enum SendType
    {
        LoginCode = 1,           //登录验证码
        BindCode = 2,            //账号绑定验证码
        PayPwdCode = 3,          //支付密码验证码
        RecommendCode = 4,       //推荐人绑定验证
        RegisterReward = 5,      //注册奖励短信
        CashBank = 6,            //绑定提现银行短信
        JingjiaChaoYue = 7,            //竞价出价被超越
        XiugaiTixianYinhang = 8,            //修改提现银行
    }

    /// <summary>
    /// 收货地址是否默认枚举
    /// </summary>
    public enum AddressDefault
    {
        [Description("否")]
        No = 0,                 //否
        [Description("是")]
        Yes = 1,                //默认
    }

    /// <summary>
    /// 充值方式枚举
    /// </summary>
    public enum ChannelType
    {
        [Description("支付宝")]
        AlipayApp = 1,          //支付宝app充值
        [Description("微信")]
        WechatApp = 2,          //微信app充值
        [Description("银联")]
        YinLian = 3,            //银联充值
    }

    /// <summary>
    /// 业务订单类型 
    /// </summary>
    public enum BusinessOrderType
    {
        [Description("充值订单")]
        ChargeOrder = 0,
        [Description("销售订单")]
        SaleOrder = 1,
        [Description("报名订单")]
        BaomingOrder = 2
    }

    /// <summary>
    /// 第三方账号类型
    /// </summary>
    public enum LogonType
    {
        Account = 0,            //账号密码登录
        VaildCode = 1,          //验证码登录
        Email = 2,              //email
        Wechat = 11,            //微信
        QQ = 12,                //qq
        WeiBo = 13,             //微博
    }

    public enum OrderType
    {
        [Description("全部类型")]
        All = -10,              //全部
        [Description("充值")]
        Charge = 1,             //充值

        [Description("其他")]
        Other = 3,             //其他

        [Description("提现")]
        Cash = 10,
        [Description("提现退款")]
        CashRefund = 11,


        [Description("订单支付")]
        OrderMasterPayFor = 20,
        [Description("订单退款")]
        OrderMasterRefund = 21,


        [Description("竞价支付保证金")]
        JingjiBaozhengjinPayFor = 80,
        [Description("竞价保证金退款")]
        JingjiBaozhengjinRefund = 81,

        [Description("注册奖励")]
        RewardRegister = 90,
        [Description("推荐奖励")]
        RewardRecommend = 91,

        [Description("服务费结算")]
        PerformanceSettlement = 100,
        [Description("推荐费结算")]
        RecommendSettlement = 101
    }

    /// <summary>
    /// 用户状态
    /// </summary>
    public enum AccountStatus
    {
        [Description("正常")]
        Normal = 0,               //正常
        [Description("禁用")]
        Forbidden = 9,          //禁用
    }

    /// <summary>
    /// 发票类型
    /// </summary>
    public enum InvoiceType
    {
        [Description("个人发票")]
        Personal = 0,           //个人
        [Description("企业发票")]
        Company = 1,            //企业
    }

    public enum PayType
    {
        [Description("线下支付")]
        UnderLine = 0,          //线下
        [Description("线上支付")]
        OnLine = 1,             //线上
        [Description("余额")]
        Balance = 2,            //余额
        [Description("支付宝")]
        Alipay = 3,             //支付宝
        [Description("微信")]
        Wechat = 4,             //微信
    }
    public enum PaySucc
    {
        [Description("未支付")]
        NotPay = 0,
        [Description("已支付")]
        Paid = 1,
    }
    public enum IsSend
    {
        [Description("未发货")]
        NotSend = 0,
        [Description("已发货")]
        Sended = 1,
        [Description("自提取货")]
        GetUseSelf = 2,
    }

    public enum IsApplyRefund
    {
        [Description("未申请")]
        NotApply = 0,
        [Description("已申请")]
        AlreadyApply = 1,
    }

    public enum OrderSource
    {
        [Description("用户下单")]
        UserCreate = 0,
        [Description("系统下单")]
        SystenCreate = 11,
    }

    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStatus
    {
        [Description("待付款")]
        WaitPay = 0,            //待付款
        //Paying = 1,           //支付中
        [Description("支付成功")]
        PaySucc = 2,            //支付成功（待收货）
        [Description("已完成")]
        Complete = 4,           //已完成（已收货）
        [Description("已取消")]
        Cancel = 6,             //已取消
    }

    /// <summary>
    /// 预定报价状态
    /// </summary>
    public enum PlaceStatus
    {
        [Description("预定中")]
        Placeing = 0,           //默认 预定中（提出报价）
        [Description("预定成功")]
        WaitPay = 1,            //待付款（预定成功）
        [Description("已完成付款")]
        Complete = 2,           //已完成（已付款）
        [Description("已取消")]
        Cancel = 3,             //已取消 （预定失败）

    }

    /// <summary>
    /// 充值订单状态
    /// </summary>
    public enum ChargeOrderStatus
    {
        [Description("已提交")]
        Create = 0,
        [Description("支付成功")]
        PaySucc = 1,
        [Description("支付失败")]
        PayFail = 2,
        //[Description("已取消")]
        //Cancel = 3,
        //[Description("已退款")]
        //Refund = 4,
        //[Description("已关闭")]
        //Close = 5
    }

    public enum CashOrderStatus
    {
        [Description("申请")]
        Create = 0,
        [Description("审核通过")]
        AuditSucc = 10,
        [Description("审核驳回")]
        AuditFail = 20,
        [Description("已汇款")]
        GiveMoney = 30,
    }

    public enum AuditStatus
    {
        [Description("未审核")]
        Create = 0,
        [Description("审核通过")]
        AuditSucc = 1,
        [Description("审核驳回")]
        AuditFail = 2,
    }

    public enum RefundSatus
    {
        [Description("退款申请")]
        Apply = 0,
        [Description("退款成功")]
        Succ = 2,
        [Description("退款失败")]
        Fail = 4,
    }

    public enum LabelType
    {
        [Description("直播")]
        ZhiBo = 1,               //直播
        [Description("预热")]
        YuRe = 2,               //预热
        [Description("爆款")]
        BaoKuan = 3,            //爆款
        [Description("竞价")]
        Jingjia = 4,
        [Description("活动")]
        Huodong = 5,
        [Description("直播2")]
        ZhiBo2 = 6,
        [Description("直播3")]
        ZhiBo3,
        [Description("直播4")]
        ZhiBo4,
        [Description("直播5")]
        ZhiBo5,
        [Description("直播6")]
        ZhiBo6,
        [Description("直播7")]
        ZhiBo7,
        [Description("直播8")]
        ZhiBo8,
        [Description("直播9")]
        ZhiBo9,
        [Description("直播10")]
        ZhiBo10,
    }

    public enum ReleaseListType
    {
        [Description("未配置")]
        Default = 0,
        [Description("直播")]
        ZhiBo = 1,               //直播
        [Description("预热")]
        YuRe = 2,               //预热
        [Description("爆款")]
        BaoKuan = 3,            //爆款
        [Description("竞价")]
        Jingjia = 4,
        [Description("活动")]
        Huodong = 5,
        [Description("直播2")]
        ZhiBo2 = 6,
    }

    /// <summary>
    /// 转发配置类型
    /// </summary>
    public enum ConfigType
    {
        [Description("转发图片设置")]
        RelayImg = 1,
        [Description("转发物料是否加价设置")]
        RelayAddMoney = 2,
        [Description("批量转发件数设置")]
        BatchRelayNum = 3,
        [Description("转发文字设置")]
        RelayWriting = 4
    }

    /// <summary>
    /// 系统类型
    /// </summary>
    public enum SystemType
    {
        [Description("安卓")]
        Android = 1,
        [Description("苹果")]
        IOS = 2,
    }

    /// <summary>
    /// 关注类型 
    /// </summary>
    public enum FollowType
    {
        [Description("商品分类")]
        GoodsCategory = 1,
        [Description("商品品牌")]
        Brand = 2,
    }

    /// <summary>
    /// 操作类型
    /// </summary>
    public enum OpType
    {
        [Description("新增关注")]
        AddFollow = 1,
        [Description("取消关注")]
        CancelFollow = 2,
    }

    public enum SupplierStatus
    {
        [Description("开放修改")]
        DoEdit = 0,
        [Description("信息提交")]
        Submit = 3,
        [Description("审核通过")]
        AuditSucc = 5,
        [Description("审核驳回")]
        AuditFail = 8,
    }

    /// <summary>
    /// 货币类型
    /// </summary>
    public enum CurrencyType
    {
        [Description("人民币")]
        RMB = 0,
        [Description("美元")]
        Dollar = 1,
    }

    /// <summary>
    /// 快递状态
    /// </summary>
    public enum ExpressState
    {
        [Description("在途")]
        Waying = 0,
        [Description("揽件")]
        Collected = 1,
        [Description("疑难")]
        difficult = 2,
        [Description("签收")]
        AlreadySigned = 3,
        [Description("退签")]
        BackSigned = 4,
        [Description("派送")]
        Send = 5,
        [Description("退回")]
        Back = 6,
        [Description("待清关")]
        WayingQingG = 10,
        [Description("清关中")]
        QingGing = 11,
        [Description("已清关")]
        AlreadyQingG = 12,
        [Description("清关异常")]
        QingGError = 13,
        [Description("收件人拒签")]
        RefuseSigned = 14,
    }

    /// <summary>
    /// 活动状态
    /// </summary>
    public enum HuodongStatus
    {
        [Description("未开始")]
        Default = 0,
        [Description("进行中")]
        InProgress = 1,
        [Description("已结束")]
        Finished = 2
    }

    /// <summary>
    /// 竞价配置状态
    /// 0 未开始 1竞价中  2竞价结束
    /// </summary>
    public enum JingjiaConfigStatus
    {
        [Description("未开始")]
        Default = 0,
        [Description("进行中")]
        InProgress = 1,
        [Description("已结束")]
        Finished = 2
    }

    public enum DeviceType
    {
        [Description("ios")]
        Ios = 1,
        [Description("安卓")]
        Android = 2,
    }


    public enum SupplierPayChanner
    {
        [Description("--")]
        NotSet = 0,
        [Description("银行转账")]
        Bank = 1,
        [Description("支付宝")]
        Alipay = 2,
        [Description("微信")]
        Weixin = 3,
    }

    /// <summary>
    /// 银行账户类型 1 对公 2 对私
    /// </summary>
    public enum bank_acc_type
    {
        [Description("对公")]
        ForPublic = 1,
        [Description("对私")]
        ForPrivate = 2
    }
    /// <summary>
    /// 是否开票 0 不开票 1 开票
    /// </summary>
    public enum is_invoice
    {
        [Description("不开票")]
        NoInvoice = 0,
        [Description("开票")]
        HasInvoice = 1
    }

    /// <summary>
    /// 供应商单品结算状态
    /// 结算状态 0 未申请结算  1结算审核处理中  3 已完成结算
    /// </summary>
    public enum jiesuan_status
    {
        [Description("未申请结算")]
        Created = 0,
        [Description("已申请结算")]
        Applied = 10,
        [Description("结算处理中")]
        Auditing = 20,
        [Description("已完成结算")]
        Finished = 30
    }
    /// <summary>
    /// 是否含税 0不含税 1含税
    /// </summary>
    public enum include_tax
    {
        [Description("不含税")]
        NoTax = 0,
        [Description("含税")]
        HasTax = 1
    }

    /// <summary>
    /// 结算单结算审核状态
    /// 结算状态 0 已提交，等待财务审核 10 财务审核通过  11财务审核驳回 20 总经理审核通过  21 总经理审核驳回 30 付款完成
    /// </summary>
    public enum jiesuan_master_status
    {
        [Description("已提交，等待财务审核")]
        Created = 0,
        [Description("财务审核通过，待总经理审核")]
        CaiwuPassed = 10,
        [Description("财务审核驳回")]
        CaiwuRefuse = 11,
        [Description("总经理审核通过")]
        ManagerPass = 20,
        [Description("总经理审核驳回")]
        ManagerRefuse = 21,
        [Description("付款完成")]
        Finished = 30
    }


    /// <summary>
    /// 客户类型
    /// </summary>
    public enum customer_type
    {
        [Description("未选")]
        UnKnown = 0,
        [Description("原厂")]
        Yuanchang = 1,
        [Description("代理商")]
        Dailishang = 2,
        [Description("贸易商")]
        Maoyishang = 3,
        [Description("其他")]
        Others = 100
    }
    /// <summary>
    /// 卖家类型
    /// </summary>
    public enum supplier_type
    {
        [Description("未选")]
        UnKnown = 0,
        [Description("授权代理商")]
        Yuanchang = 1,
        [Description("ODM/EMS工厂")]
        Dailishang = 2,
        [Description("普通贸易商")]
        Maoyishang = 3,
        [Description("品牌原厂")]
        PingpaiYuanchang = 4,
        [Description("方案公司")]
        FanganGongsi = 5,
        [Description("品牌客户")]
        PingpaiKehu = 6,
        [Description("供应链公司")]
        GOnginglianGongsi = 7,
        [Description("其他")]
        Others = 8
    }
}
